package com.luo.dt.seata.at.model.dto;

import java.math.BigDecimal;

/**
 * 业务DTO
 *
 * @author luohq
 * @date 2022-12-03 18:58
 */
public class DebitDto {
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 扣款金额
     */
    private BigDecimal money;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "DebitDto{" +
                "userId='" + userId + '\'' +
                ", money=" + money +
                '}';
    }
}
